//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.ExamApplyPatientDto;
//import java.io.Serializable;
//import com.rt.schedulebase.service.IExamApplyPatientService;
//import com.rt.schedulebase.entity.ExamApplyPatient;
//import com.rt.schedulebase.mapper.ExamApplyPatientMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//public class ExamApplyPatientServiceImpl extends ServiceImpl<ExamApplyPatientMapper, ExamApplyPatient> implements IExamApplyPatientService
//{
//@Override
//    public boolean insertSelective(final ExamApplyPatient examApplyPatient) {
//        return this.retBool(Integer.valueOf(((ExamApplyPatientMapper)this.baseMapper).insert(examApplyPatient)));
//    }
//
//@Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((ExamApplyPatientMapper)this.baseMapper).deleteById((Serializable)key)));
//    }
//
//@Override
//    public boolean updateByPrimaryKeySelective(final ExamApplyPatient examApplyPatient) {
//        return this.retBool(Integer.valueOf(((ExamApplyPatientMapper)this.baseMapper).updateById(examApplyPatient)));
//    }
//
//@Override
//    public ExamApplyPatient selectByPrimaryKey(final String key) {
//        return (ExamApplyPatient)((ExamApplyPatientMapper)this.baseMapper).selectById((Serializable)key);
//    }
//
//@Override
//    public List<ExamApplyPatient> getList(final ExamApplyPatientDto dto) {
//        final QueryWrapper<ExamApplyPatient> qw = (QueryWrapper<ExamApplyPatient>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        qw.allEq((Map)map, false);
//        final List<ExamApplyPatient> list = (List<ExamApplyPatient>)((ExamApplyPatientMapper)this.baseMapper).selectList((Wrapper)qw);
//        return list;
//    }
//
//@Override
//    public List<ExamApplyPatient> getListAll() {
//        return (List<ExamApplyPatient>)((ExamApplyPatientMapper)this.baseMapper).selectList((Wrapper)null);
//    }
//
//@Override
//    public boolean delete(final ExamApplyPatient examApplyPatient) {
//        final UpdateWrapper<ExamApplyPatient> uw = (UpdateWrapper<ExamApplyPatient>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamApplyPatientMapper)this.baseMapper).delete((Wrapper)uw)));
//    }
//
//@Override
//    public boolean update(final ExamApplyPatient examApplyPatient) {
//        final UpdateWrapper<ExamApplyPatient> uw = (UpdateWrapper<ExamApplyPatient>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamApplyPatientMapper)this.baseMapper).update(examApplyPatient, (Wrapper)uw)));
//    }
//
//@Override
//    public ExamApplyPatient getInfo(final ExamApplyPatientDto dto) {
//        final QueryWrapper<ExamApplyPatient> qw = (QueryWrapper<ExamApplyPatient>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        qw.allEq((Map)map, false);
//        return (ExamApplyPatient)((ExamApplyPatientMapper)this.baseMapper).selectOne((Wrapper)qw);
//    }
//}
